package com.eshop.we.book.api;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.eshop.we.book.dto.BookDto;
import com.eshop.we.book.entity.Book;

import java.util.List;

/**
 * <p>
 * 书籍表 服务类
 * </p>
 *
 * @author anonymity
 * @since 2018-07-06
 */
public interface BookService extends IService<Book> {

    Page selectBookPage(Page<BookDto> page, String name, String bookName, String startDate, String endDate);

    List<Book> searchBook(Book book);
}
